﻿	      <?php include("conn.php");
             mysql_query('SET NAMES UTF8'); 

	  

class MyPrizeBean
{
	
	public $images;
	public $title;
	public $addtime;
	public $content;
	public $ccid;
	public $jianjie;
	
	function __construct($images,$title,$addtime,$content,$ccid,$jianjie)
	{
		
		$this->images      = $images;
		$this->title      = $title;
		$this->addtime      = $addtime;
		$this->content      = $content;
		$this->ccid      = $ccid;
		$this->jianjie      = $jianjie;
	
	}
}




   $rert31=mysql_query("select *from activity  where id='".$_REQUEST[ccid]."' ");
  $prize = array();
 $rowf=mysql_fetch_array($rert31);





   
		$prize[] = new MyPrizeBean($rowf['images'],$rowf['title'],$rowf['addtime'],$rowf['content'],$rowf['id'],$rowf['jianjie']);
		


echo json_encode($prize);


?>